package com.tanhua.dubbo.api;

import com.tanhua.dubbo.mappers.QuestionnaireLevelMapper;
import com.tanhua.model.domain.QuestionnaireLevel;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class QuestionnaireLevelApiImpl implements QuestionnaireLevelApi {

    @Autowired
    private QuestionnaireLevelMapper questionnaireLevelMapper;

    @Override
    public QuestionnaireLevel findById(Integer levelId) {
        return questionnaireLevelMapper.selectById(levelId);
    }
}
